package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Tel      string `gorm:"type:char(11)"`
	Password string `gorm:"type:varchar(32)"`
}

type News struct {
	gorm.Model
	Title       string `gorm:"type:varchar(30)"`
	Content     string `gorm:"type:varchar(255)"`
	Img         string `gorm:"type:varchar(255)"`
	Information string `gorm:"type:varchar(255)"`
}
